﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VidoopSecure
{
    public class Site
    {
        private string _customerId;
        private string _siteName;
        private string _username;
        private string _password;

        /// <summary>
        /// Unique customer identifier.
        /// </summary>
        public string CustomerId 
        { 
            get { return _customerId; } 
            set { _customerId = value; } 
        }

        /// <summary>
        /// User-supplied name of the Site.
        /// </summary>
        public string SiteName  
        { 
            get { return _siteName; } 
            set { _siteName= value; } 
        }

        /// <summary>
        /// Site-specific Api Username.
        /// </summary>
        public string Username 
        { 
            get { return _username; } 
            set { _username = value; } 
        }

        /// <summary>
        /// Site-specific Api Password.
        /// </summary>
        public string Password 
        { 
            get { return _password; } 
            set { _password = value; } 
        }

        /// <summary>
        /// Create a <see cref="VidoopSecure.Site" /> object.
        /// </summary>
        /// <param name="customerId">Customer identifier.</param>
        /// <param name="siteName">Site name.</param>
        /// <param name="username">Api username.</param>
        /// <param name="password">Api password.</param>
        public Site (string customerId, string siteName, string username, string password) 
        {
            CustomerId = customerId;
            SiteName = siteName;
            Username = username;
            Password = password;
        }
    }
}
